##----------------------------------------------------------------------------
# Created with genmake.pl v1.1 on Sun Nov 13 16:37:29 2011
# genmake.pl home: http://muquit.com/muquit/software/
# Copryright: GNU GPL (http://www.gnu.org/copyleft/gpl.html)
##----------------------------------------------------------------------------
rm=/bin/rm -f
CC=g++
CC = g++
LIBS =  -lm -L/usr/X11R6/lib -lglut -lGL -lGLU -I/usr/X11R6/include -lX11 -lXext  -lpng
DEFS=  
PROGNAME= virtual-env-fcg
INCLUDES=  -I.


DEFINES= $(INCLUDES) $(DEFS) -DSYS_UNIX=1
CFLAGS= -O2 -march=core2 -g $(DEFINES) -Wall 

SRCS = main.cpp Models/3DObject.cpp Models/glm.cpp Models/ModelAl.cpp Models/Sphere.cpp Images/Image.cpp Images/TargaTexture.cpp Images/PngTexture.cpp Camera.cpp EnvironmentBox.cpp Font.cpp Gun.cpp Particle.cpp Terrain.cpp Timer.cpp Vetor3D.cpp

OBJS = main.o Models/3DObject.o Models/glm.o Models/ModelAl.o Models/Sphere.o Images/Image.o Images/TargaTexture.o Images/PngTexture.o Camera.o EnvironmentBox.o Font.o Gun.o Particle.o Terrain.o Timer.o Vetor3D.o

.c.o:
	$(rm) $@
	$(CC) $(CFLAGS) -c $*.c

all: $(PROGNAME)

$(PROGNAME) : $(OBJS)
	$(CC) $(CFLAGS) -o $(PROGNAME) $(OBJS) $(LIBS)

clean:
	$(rm) $(OBJS) $(PROGNAME) core *~
